package org.comple.erp.pojo.base.customer;


import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName customer
 */
public class Customer implements Serializable {
    /**
     * 客户id
     */
    private String id;

    /**
     * 名称
     */
    private String name;

    /**
     * 编号
     */
    private String code;

    /**
     * 公司编号
     */
    private String companyCode;

    /**
     * 类别
     */
    private String type;

    /**
     * 等级
     */
    private String level;

    /**
     * 选择具有某个角色的职工
     */
    private String salesman;

    /**
     * 余额日期
     */
    private Date balanceDate;

    /**
     * 期初应收款
     */
    private BigDecimal initialReceivable;

    /**
     * 期初预收款
     */
    private BigDecimal initialAdvance;

    private BigDecimal receivableBalance;

    private String taxCode;

    private String bank;

    private String account;

    /**
     * 交货方式
     */
    private Integer deliveryMethod;

    /**
     * 收款条件
     */
    private Integer paymentTerms;

    /**
     *
     */
    private Integer status;

    /**
     *
     */
    private Integer isDel;

    /**
     * 备注
     */
    private String remark;

    private String staffName;

    private String typeName;

    private String levelName;

    private String primaryContactName;    // 首要联系人姓名
    private String primaryContactPhone;   // 首要联系人手机
    private String primaryContactFax; // 首要联系人座机
    private String primaryContactEmail;   // 首要联系人邮箱
    private String primaryContactAddress; // 首要联系人地址

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getCompanyCode() {
        return companyCode;
    }

    public void setCompanyCode(String companyCode) {
        this.companyCode = companyCode;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public Date getBalanceDate() {
        return balanceDate;
    }

    public void setBalanceDate(Date balanceDate) {
        this.balanceDate = balanceDate;
    }

    public BigDecimal getInitialReceivable() {
        return initialReceivable;
    }

    public void setInitialReceivable(BigDecimal initialReceivable) {
        this.initialReceivable = initialReceivable;
    }

    public BigDecimal getInitialAdvance() {
        return initialAdvance;
    }

    public void setInitialAdvance(BigDecimal initialAdvance) {
        this.initialAdvance = initialAdvance;
    }

    public Integer getDeliveryMethod() {
        return deliveryMethod;
    }

    public void setDeliveryMethod(Integer deliveryMethod) {
        this.deliveryMethod = deliveryMethod;
    }

    public Integer getPaymentTerms() {
        return paymentTerms;
    }

    public void setPaymentTerms(Integer paymentTerms) {
        this.paymentTerms = paymentTerms;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDel() {
        return isDel;
    }

    public void setIsDel(Integer isDel) {
        this.isDel = isDel;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public String getPrimaryContactName() {
        return primaryContactName;
    }

    public void setPrimaryContactName(String primaryContactName) {
        this.primaryContactName = primaryContactName;
    }

    public String getPrimaryContactPhone() {
        return primaryContactPhone;
    }

    public void setPrimaryContactPhone(String primaryContactPhone) {
        this.primaryContactPhone = primaryContactPhone;
    }

    public String getPrimaryContactFax() {
        return primaryContactFax;
    }

    public void setPrimaryContactFax(String primaryContactFax) {
        this.primaryContactFax = primaryContactFax;
    }

    public String getPrimaryContactEmail() {
        return primaryContactEmail;
    }

    public void setPrimaryContactEmail(String primaryContactEmail) {
        this.primaryContactEmail = primaryContactEmail;
    }

    public String getPrimaryContactAddress() {
        return primaryContactAddress;
    }

    public void setPrimaryContactAddress(String primaryContactAddress) {
        this.primaryContactAddress = primaryContactAddress;
    }

    public BigDecimal getReceivableBalance() {
        return receivableBalance;
    }

    public void setReceivableBalance(BigDecimal receivableBalance) {
        this.receivableBalance = receivableBalance;
    }

    public String getTaxCode() {
        return taxCode;
    }

    public void setTaxCode(String taxCode) {
        this.taxCode = taxCode;
    }

    public String getBank() {
        return bank;
    }

    public void setBank(String bank) {
        this.bank = bank;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getStaffName() {
        return staffName;
    }

    public void setStaffName(String staffName) {
        this.staffName = staffName;
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }
}